﻿using YNTK.Common.Const;
using SqlSugar;
using System;

namespace YNTK.SubDev.Entitys
{
    /// <summary>
    /// 项目信息
    /// </summary>
    [SugarTable("zy_oa_projectgantt")]
    [Tenant(ClaimConst.TENANT_ID)]
    public class ZyOaProjectganttEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true)]
        public string Id { get; set; }
        
        /// <summary>
        /// 项目上级
        /// </summary>
        [SugarColumn(ColumnName = "F_ParentId")]        
        public string ParentId { get; set; }
        
        /// <summary>
        /// 项目主键
        /// </summary>
        [SugarColumn(ColumnName = "F_ProjectId")]        
        public string ProjectId { get; set; }
        
        /// <summary>
        /// 项目类型
        /// </summary>
        [SugarColumn(ColumnName = "F_Type")]        
        public int? Type { get; set; }
        
        /// <summary>
        /// 项目类型
        /// </summary>
        [SugarColumn(ColumnName = "F_ItemType")]        
        public string ItemType { get; set; }
        
        /// <summary>
        /// 项目编号
        /// </summary>
        [SugarColumn(ColumnName = "F_EnCode")]        
        public string EnCode { get; set; }
        
        /// <summary>
        /// 项目名称
        /// </summary>
        [SugarColumn(ColumnName = "F_FullName")]        
        public string FullName { get; set; }
        
        /// <summary>
        /// 客户名称
        /// </summary>
        [SugarColumn(ColumnName = "F_Customer")]        
        public string Customer { get; set; }
        
        /// <summary>
        /// 项目工期
        /// </summary>
        [SugarColumn(ColumnName = "F_TimeLimit")]        
        public decimal TimeLimit { get; set; }
        
        /// <summary>
        /// 项目标记
        /// </summary>
        [SugarColumn(ColumnName = "F_Sign")]        
        public string Sign { get; set; }
        
        /// <summary>
        /// 标记颜色
        /// </summary>
        [SugarColumn(ColumnName = "F_SignColor")]        
        public string SignColor { get; set; }
        
        /// <summary>
        /// 开始时间
        /// </summary>
        [SugarColumn(ColumnName = "F_StartTime")]        
        public DateTime? StartTime { get; set; }
        
        /// <summary>
        /// 结束时间
        /// </summary>
        [SugarColumn(ColumnName = "F_EndTime")]        
        public DateTime? EndTime { get; set; }
        
        /// <summary>
        /// 签订时间
        /// </summary>
        [SugarColumn(ColumnName = "F_SigningTime")]        
        public DateTime? SigningTime { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "F_Amount")]        
        public decimal Amount { get; set; }
        
        /// <summary>
        /// 当前进度
        /// </summary>
        [SugarColumn(ColumnName = "F_Schedule")]        
        public decimal Schedule { get; set; }
        
        /// <summary>
        /// 项目阶段
        /// </summary>
        [SugarColumn(ColumnName = "F_Stage")]        
        public string Stage { get; set; }
        
        /// <summary>
        /// 项目经理
        /// </summary>
        [SugarColumn(ColumnName = "F_DesPerson")]        
        public string DesPerson { get; set; }
        
        /// <summary>
        /// 参与人员
        /// </summary>
        [SugarColumn(ColumnName = "F_ManagerIds")]        
        public string ManagerIds { get; set; }
        
        /// <summary>
        /// 项目内容
        /// </summary>
        [SugarColumn(ColumnName = "F_ProContent")]        
        public string ProContent { get; set; }
        
        /// <summary>
        /// 描述
        /// </summary>
        [SugarColumn(ColumnName = "F_Description")]        
        public string Description { get; set; }
        
        /// <summary>
        /// 排序
        /// </summary>
        [SugarColumn(ColumnName = "F_SortCode")]        
        public long SortCode { get; set; }
        
        /// <summary>
        /// 有效标志
        /// </summary>
        [SugarColumn(ColumnName = "F_EnabledMark")]        
        public int? EnabledMark { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "F_CreatorTime")]        
        public DateTime? CreatorTime { get; set; }
        
        /// <summary>
        /// 创建用户
        /// </summary>
        [SugarColumn(ColumnName = "F_CreatorUserId")]        
        public string CreatorUserId { get; set; }
        
        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "F_LastModifyTime")]        
        public DateTime? LastModifyTime { get; set; }
        
        /// <summary>
        /// 修改用户
        /// </summary>
        [SugarColumn(ColumnName = "F_LastModifyUserId")]        
        public string LastModifyUserId { get; set; }
        
        /// <summary>
        /// 删除标志
        /// </summary>
        [SugarColumn(ColumnName = "F_DeleteMark")]        
        public int? DeleteMark { get; set; }
        
        /// <summary>
        /// 删除时间
        /// </summary>
        [SugarColumn(ColumnName = "F_DeleteTime")]        
        public DateTime? DeleteTime { get; set; }
        
        /// <summary>
        /// 删除用户
        /// </summary>
        [SugarColumn(ColumnName = "F_DeleteUserId")]        
        public string DeleteUserId { get; set; }
        
        /// <summary>
        /// 项目状态（1-正在进行，2-暂停）
        /// </summary>
        [SugarColumn(ColumnName = "F_State")]        
        public string State { get; set; }
        
        /// <summary>
        /// 最后状态
        /// </summary>
        [SugarColumn(ColumnName = "F_LastTrackState")]        
        public int? LastTrackState { get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "F_Remark")]        
        public string Remark { get; set; }
        
        /// <summary>
        /// 附件
        /// </summary>
        [SugarColumn(ColumnName = "Appendix")]        
        public string Appendix { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Spare1")]        
        public string Spare1 { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Spare2")]        
        public string Spare2 { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Spare3")]        
        public string Spare3 { get; set; }
        
        /// <summary>
        /// 分配情况列表Json
        /// </summary>
        [SugarColumn(ColumnName = "F_PostilJson")]        
        public string PostilJson { get; set; }
        
        /// <summary>
        /// 分配总数
        /// </summary>
        [SugarColumn(ColumnName = "F_PostilCount")]        
        public int? PostilCount { get; set; }
        
    }
}
